SafeToDisplayException Class

Indicates an error message which may safely be displayed to the browser user. Such messages may not include any sensitive information.

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public class SafeToDisplayException : Exception

Constructors
Name Description
Ð SafeToDisplayException ()

Initializes a new instance of the SafeToDisplayException class.

Ï SafeToDisplayException (SerializationInfo, StreamingContext)

Initializes a new instance of the SafeToDisplayException class.

Ð SafeToDisplayException (string)

Initializes a new instance of the SafeToDisplayException class.

Ð SafeToDisplayException (string, Exception)

Initializes a new instance of the SafeToDisplayException class.

Ð SafeToDisplayException (string, params object[])

Initializes an instance of this class, by formatting an error message.

Ð SafeToDisplayException (ValidationResults, string)

Initializes a new instance of the SafeToDisplayException class, including further information in a ValidationResults object.

Properties
Name Description
Ð ValidationResults

Validation results associated with the exception, or null if none.